﻿using AuthCenter.ErrorCode;
using MediatR;

namespace AuthCenter.API.Application.Command.Request
{
    public class UpdateRequestCommand : IRequest<APIResult<int>>
    {
        public long Id {  get; set; }
        /// <summary>
        /// 申请人姓名
        /// </summary>
        public string ApplicantName { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public int DepartmentName { get; set; }
        /// <summary>
        /// 请假类别
        /// </summary>
        public string RequestType { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }
        /// <summary>
        /// 总工时
        /// </summary>
        public int? TotalTime { get; set; }
        /// <summary>
        /// 报道时间
        /// </summary>
        public DateTime ReportTime { get; set; }
        /// <summary>
        /// 请假事由
        /// </summary>
        public string RequestContent { get; set; }
        /// <summary>
        /// 部门领导
        /// </summary>
        public string DepartmentHead { get; set; }
    }
}
